package com.jack.payment.controller.webhook;

import com.jack.payment.entity.common.CommonResult;
import io.swagger.v3.oas.annotations.Operation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/callBack")
public class CommonNotifyController {
    private Logger log = LoggerFactory.getLogger(CommonNotifyController.class);



    @Operation(summary = "对象存储回调地址")
    @RequestMapping(value = "ossNotify", method = {RequestMethod.POST})
    @ResponseBody
    public CommonResult ossNotifySuccess() {

        return CommonResult.ok();
    }

    @Operation(summary = "邮箱发送成功后, 回调地址")
    @RequestMapping(value = "emailNotify", method = {RequestMethod.POST})
    @ResponseBody
    public void emailNotifySuccess() {

    }
}
